Pod::Spec.new do |s|
  s.name             = 'YHYUIViewExtension'
  s.version          = '0.0.4'
  s.summary          = 'UIView 扩展.'
  s.description      = '一个 UIView 分类集合'

  s.homepage         = 'https://gitee.com/kmyhy'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'kmyhy' => 'kmyhy@126.com' }
  s.source           = { :git => 'https://gitee.com/kmyhy/YHYUIViewExtension.git', :tag => s.version.to_s }

  s.ios.deployment_target = '8.0'

  s.source_files = 'YHYUIViewExtension/Classes/**/*'
  
  s.subspec 'ColoredMaskLayer' do |a|
		a.source_files = 'YHYUIViewExtension/Classes/ColoredMaskLayer/*'
	end
	
	s.subspec 'CornerStamp' do |b|
		b.source_files = 'YHYUIViewExtension/Classes/CornerStamp/*'
	end
	s.subspec 'EdgeShadow' do |c|
		c.source_files = 'YHYUIViewExtension/Classes/EdgeShadow/*'
		c.dependency 'Masonry'
	end
	s.subspec 'GradientColor' do |d|
		d.source_files = 'YHYUIViewExtension/Classes/GradientColor/*'
	end
	s.subspec 'LoadNib' do |e|
		e.source_files = 'YHYUIViewExtension/Classes/LoadNib/*'
	end

  s.dependency 'Masonry'
end
